Skip to content

ci: Speed up Protobuf Compatibility checks by running specific modules in Google-Cloud-Java#3683

Merged
lqiu96 merged 5 commits intomainfrom
speed-up-source-compatibility
Mar 14, 2025
Merged

ci: Speed up Protobuf Compatibility checks by running specific modules in Google-Cloud-Java#3683
lqiu96 merged 5 commits intomainfrom
speed-up-source-compatibility

Conversation

@lqiu96
Copy link
Copy Markdown
Member

@lqiu96 lqiu96 commented Mar 7, 2025

Run from this speed-up for google-cloud-java: https://github.com/googleapis/sdk-platform-java/actions/runs/13845404432/job/38742611238

Google-cloud-java is able to run linkage checker on the handwritten modules in ~4 min. Slowest is now bigquerystorage that runs in ~10 min

@product-auto-label product-auto-label Bot added the size: s Pull request size is small. label Mar 7, 2025
@lqiu96 lqiu96 changed the title ci: Speed up Source Compatibility checks by running specific modules ci: Speed up Protobuf Compatibility checks by running specific modules in Google-Cloud-Java Mar 13, 2025
@sonarqubecloud
Copy link
Copy Markdown

Comment thread .kokoro/nightly/common.sh
# help speed up the execution as building the entire repo is an expensive operation. Specify the nested
# `google-cloud-*` path (except for grafeas as it doesn't have one) because maven -pl will only build the
# specified folder (i.e. parent folder) and ignore all the related sub-modules inside
google_cloud_java_handwritten_maven_args="java-grafeas,java-vertexai/google-cloud-vertexai,java-resourcemanager/google-cloud-resourcemanager,java-translate/google-cloud-translate"
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This has the handwritten modules written out again. This is separate from the list in the binary script as this also includes the proto modules.

@lqiu96 lqiu96 requested a review from blakeli0 March 13, 2025 22:06
@lqiu96 lqiu96 marked this pull request as ready for review March 13, 2025 22:06
@sonarqubecloud
Copy link
Copy Markdown

Quality Gate Passed Quality Gate passed for 'java_showcase_integration_tests'

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarQube Cloud

@blakeli0
Copy link
Copy Markdown
Contributor

Slowest is now bigquerystorage that runs in ~10 min

I think this is acceptable to be run on each PR now, since the slowest CI takes around 15 minutes.

@lqiu96 lqiu96 merged commit b8293ef into main Mar 14, 2025
66 of 67 checks passed
@lqiu96 lqiu96 deleted the speed-up-source-compatibility branch March 14, 2025 18:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size: s Pull request size is small.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants